from flask  import Flask

app = Flask(__name__)

# 安装: pip install flask-script

@app.route('/')
def Index():
    return 'flask-script使用'

if __name__ == "__main__":
    app.run(debug=True)